package com.luke.springcloud.feign.hystrix;

import com.luke.springcloud.entities.UserInfo;
import com.luke.springcloud.feign.ProviderFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @Descrtption ProviderFeignClientHystrix
 * @Author luke
 * @Date 2020/5/13
 **/
@Slf4j
@Component
public class ProviderFeignClientHystrix implements ProviderFeignClient {

    @Override
    public UserInfo echo(Long id) {
        return new UserInfo();
    }

    @Override
    public UserInfo queryUserInfo(UserInfo userInfo) {
        return new UserInfo();
    }

}
